package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 票据本副联关系对象 ticket_receipt_real
 *
 * @author ruoyi
 * @date 2024-07-19
 */
public class TicketReceiptReal extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 关系编号 */
    @Excel(name = "关系编号")
    private String receiptRealNo;

    /** 本联编号 */
    @Excel(name = "本联编号")
    private String busTicketNo;

    /** 副联编号 */
    @Excel(name = "副联编号")
    private String personTicketNo;

    /** 本联校验码 */
    @Excel(name = "本联校验码")
    private String busTicketCode;

    /** 副联校验码 */
    @Excel(name = "副联校验码")
    private String personTicketCode;

    public void setReceiptRealNo(String receiptRealNo)
    {
        this.receiptRealNo = receiptRealNo;
    }

    public String getReceiptRealNo()
    {
        return receiptRealNo;
    }
    public void setBusTicketNo(String busTicketNo)
    {
        this.busTicketNo = busTicketNo;
    }

    public String getBusTicketNo()
    {
        return busTicketNo;
    }
    public void setPersonTicketNo(String personTicketNo)
    {
        this.personTicketNo = personTicketNo;
    }

    public String getPersonTicketNo()
    {
        return personTicketNo;
    }
    public void setBusTicketCode(String busTicketCode)
    {
        this.busTicketCode = busTicketCode;
    }

    public String getBusTicketCode()
    {
        return busTicketCode;
    }
    public void setPersonTicketCode(String personTicketCode)
    {
        this.personTicketCode = personTicketCode;
    }

    public String getPersonTicketCode()
    {
        return personTicketCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("receiptRealNo", getReceiptRealNo())
                .append("busTicketNo", getBusTicketNo())
                .append("personTicketNo", getPersonTicketNo())
                .append("busTicketCode", getBusTicketCode())
                .append("personTicketCode", getPersonTicketCode())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
